<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="<%=request.getContextPath()%>/HRTWEB/js/jquery-1.9.1.js"></script>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/HTRWEB/css/publicCss.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/HRTWEB/personalCenter/personalCss.css">
<link href="<%=request.getContextPath() %>/HRTWEB/css/bootstrap.min.css" rel="stylesheet" />

<!-- 日期控件 -->
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/HTRWEB/css/default.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/HTRWEB/css/default.date.css" />
<script type="text/javascript"
	src="<%=request.getContextPath()%>/HRTWEB/js/laydate/laydate.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/HRTWEB/personalCenter/reset.js"></script>
	<script src="<%=request.getContextPath()%>/HRTWEB/js/bootstrap.min.js"></script>
<script src="<%=request.getContextPath()%>/HRTWEB/js/jquery.form.js"></script>

<!-- 表单验证 -->
<script type="text/javascript"
	src="<%=request.getContextPath()%>/HRTWEB/js/validforms/Validform_v5.3.2.js"></script>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/HRTWEB/css/Validform_css.css" />
	
<jsp:include page="changePhone.jsp"></jsp:include>
<jsp:include page="changeEmail.jsp"></jsp:include>
<title>修改页面</title>
<script type="text/javascript">
function showEditDialog()
{
	
	//var dialog=document.getElementById("phoneInfo");
	$("#phoneInfo").modal('show');
}


</script>

</head>
<body>
	<form action="../reset.do" method="post" name="resetInfo" id="resetInfo">

		<%-- <input id="memberId" type="hidden" name="id" value="${HRTMember.id}" />
		<input id="PicId" type="hidden"
			name="pic" value="${HRTMember.pic}" /> <input id="isMobileVaildId"
			type="hidden" name="isMobileVaild" value="${HRTMember.isMailVaild}" />
		<input type="hidden" name="password" value="${HRTMember.password}" /> --%>
		<div class="personalTable">
			<table cellpadding="10" cellspacing="10" >
				<tr>
					<td class="leftTd">会员名:</td>
					<td>
						<input class="resetIn inputxt Validform_error" id="mbrName" type="text" name="mbrName" value="${HRTMember.mbrName}" />
					</td>
				</tr>
				<tr>
					<td class="leftTd">电子邮件:</td>
					<td>
					    <input class="resetIn" id="changeMail" type="text" name="mail" value="${HRTMember.mail}" readonly="readonly"/>
					    <a href="javascript:;" data-toggle="modal" data-target="#EmailInfo" name="changeEmail">修改</a>
					</td>
				</tr>
				<tr>
					<td class="leftTd">手机号码:</td>
					<td>
					   <input class="resetIn " name="mobile" type="text"  value="${HRTMember.mobile}" id="changeMobile" readonly="readonly"/>
					   <a href="javascript:;" data-toggle="modal" data-target="#phoneInfo" name="changeTelphone">修改</a>
					   <!-- <a href="javascript:showEditDialog();"  name="changeTelphone">修改</a> -->
					</td>
				</tr>
				<tr>
					<td class="leftTd">性别:</td>
					<td><input type="radio" name="sex" value="0"
						style="width: 20px;" checked="checked" />男 <input type="radio"
						name="sex" value="1" style="width: 20px;" />女</td>
				</tr>
				<tr>
					<td class="leftTd">出生日期:</td>
					<td><input id="myborth" class="laydate-icon resetIn inputxt Validform_error" name="myborth"
						type="text" value="${HRTMember.born}" onclick="pickDate(this);" /></td>
				</tr>
				<%-- <tr>
					<th>会员设置的问题:</th>
					<td ><input type="text" name="sequestion"
						value="${HRTMember.sequestion}" /></td>
				</tr>
				<tr>
					<th>会员设置的答案:</th>
					<td><input type="text" name="seanswer"
						value="${HRTMember.seanswer}" /></td>
				</tr> --%>
				<tr style="display:none;">
					<td><input class="resetIn" type="hidden" name="address" id="address"
						value="${HRTMember.address}" /></td>
				</tr>
				<tr>
					<td class="leftTd">会员地址:</td>
					<td >
						<div class="m-l-x getAdress">
							<select id="seachprov" name="seachprov" onChange="changeComplexProvince(this.value);"></select>&nbsp;&nbsp;
							<select id="seachcity" name="homecity" onChange="changeCity(this.value);"></select>&nbsp;&nbsp; 
							<span id="seachdistrict_div">
								<select id="seachdistrict" name="seachdistrict" onChange="changeArea(this.value);"></select>
							</span>
						</div>
					</td>
				</tr>
				<tr>
					<td class="leftTd">真实姓名:</td>
					<td>
						<input class="resetIn inputxt Validform_error" type="text" name="realName" value="${HRTMember.realName}" />
					</td>
				</tr>
				<tr>
					<td class="leftTd">备注:</td>
					<td><input class="resetIn inputxt Validform_error" type="text" name="note" value="${HRTMember.note}" /></td>
				</tr>
				<tr>
					<td></td>
					<td><button class="submit" type="submit" id="saveBtn">保存</button></td>
				</tr>
			</table>
		</div>
	</form>

</body>
</html>